from conf import *

width, height = 0, 0
if width == 0:
    width = width_grid * grid_width
if height == 0:
    height = height_grid * grid_width

from utils import multiple

snake_head_pos = []
snake_body = []
if len(snake_head_pos) == 0:
    snake_head_pos = multiple(snake_head_pos_grid, grid_width)
if len(snake_body) == 0:
    for i in range(len(snake_body_grid)):
        snake_body.insert(i, multiple(snake_body_grid[i], grid_width))
